<template>
  <div id="app">
    <DocViewer :viewer-options="viewerOptions"></DocViewer>
  </div>
</template>

<script>
import DocViewer from './components/DocViewer.vue';

export default {
  name: 'App',
  components: {
    DocViewer,
  },
  data() {
    return {
      viewerOptions: {
        //defaultUrl: 'https://mozilla.github.io/pdf.js/web/compressed.tracemonkey-pldi-09.pdf',
        defaultUrl: 'http://119.97.236.67:5555/jssp_api/weboa/TempFiles/YSSPsj/202501/9b86881694120da396f162d5eb6b60a0/F79CC291282947A48E893790361C9721/487e8ffc3cfc407fa13bf98e15378a77.pdf',
        resourcePath: 'pdflux-pdf-viewer/',
        showAnnotationMenu: true,
        disableCORSOriginCheck: true,
      },
    };
  },
};
</script>

<style>
html,
body,
#app {
  height: 100%;
}
</style>
